package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "report")//违法举报表
public class Report extends BaseEntity {
    private static final long serialVersionUID = -7005155033524668978L;

    private GateUser user;//用户
    @Column(name = "title")
    private String title;//举报标题
    @Column(name = "report_desc")
    private String reportDesc;//举报内容
    @ManyToOne
    @JoinColumn(name = "uid")
    public GateUser getUser() {
        return user;
    }

    public void setUser(GateUser user) {
        this.user = user;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getReportDesc() {
        return reportDesc;
    }

    public void setReportDesc(String reportDesc) {
        this.reportDesc = reportDesc;
    }
}
